.efromNumber {
  // background-color: transparent;

  .ant-input-number-group-addon {
    border-radius: 0 var(--inbiz-border-radius-base) var(--inbiz-border-radius-base) 0;
    cursor: default;
  }
  .ant-input-number-group .ant-input-number {
    border-radius: var(--inbiz-border-radius-base);
    &.eformNumberAddon {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
    }
  }
  // 解决编辑器端数字框圆角显示问题
  border-radius: var(--inbiz-border-radius-base);
  .ant-input-number-affix-wrapper {
    border-top-left-radius: var(--inbiz-border-radius-base);
    border-bottom-left-radius: var(--inbiz-border-radius-base);
  }
}
// 解决数字框组件错位问题
.ant-input-number-affix-wrapper::before {
  display: none;
}

// 为小尺寸时，显示有左空格
.ant-formily-item-size-small .ant-input-number.efromNumber {
  padding-left: 0;
  .ant-input-number-input-wrap {
    line-height: 22px;
  }
}

.EformNumberContainer {
  .efromNumber {
    &:hover {
      border-color: var(--ant-primary-color-hover);
    }
    &:focus {
      border-color: var(--ant-primary-color-hover);
      box-shadow: 0 0 0 2px var(--ant-primary-color-outline);
    }
  }
  .ant-input-number.efromNumber.ant-input-number-focused {
    border-color: var(--ant-primary-color-hover);
    box-shadow: 0 0 0 2px var(--ant-primary-color-outline);
  }
  .efromNumber.ant-input-number-disabled.ant-input-number-readonly {
    color: rgba(0, 0, 0, 0.25);
    &:hover {
      border-color: #d9d9d9;
    }
  }

}
